emojicompletion: Avoid a memory overrun
authorMatthias Clasen <mclasen@redhat.com>
Thu, 15 Oct 2020 19:16:06 +0000 (15:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 15 Oct 2020 20:32:55 +0000 (16:32 -0400)
commit4e04c396095b7e4b70f0635ded6241a61a62ada8
tree3d1e7307a47d1f3c221eadeeac278ae1fc3f6899
parent0bd5a96d71562c4820cf74fdc05ce5c891936bad
emojicompletion: Avoid a memory overrun

Don't read beyond the beginning of the string.

Fixes: #3245
gtk/gtkemojicompletion.c